BitmapSetFile

 

The 'BitmapSetFile' function changes a preset picture into a new one.

 

void @BitmapSetFile(string class_name, string file_name);

 

Parameters

string class_name : Class name of Bitmap.

string filename : File name of animation that you want to change (The defualt path is 'Graphic' directory. But you can use the absolute path in 10.1.0 version or higher.)

 

Return Value

None

 

Example

If($DI_0000 == 1)

@BitmapSetFile("Bitmap1", "ON.BMP");

else

@BitmapSetFile("Bitmap1", "OFF.BMP");

 

Description : If 'DI_0000' is '1', 'ON.BMP' file is applied. But, if 'DI_0000' is '0', 'OFF.BMP' file is applied.

 

Relate items)

@AnimationSetFile ()

@BitmapSetFile ()